/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exception;

/**
 *
 * @author Alex
 */
public class EmployeeLoginExists extends Exception {

    protected String login;
    
    public EmployeeLoginExists(String login) {
        this.login = login;
    }
    
    @Override
    public String toString() {
        return "The login '" + login + "' is already used.";
    }
    
}
